Optimal. Leaf size=8 \[ -\sin ^{-1}(5-2 x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.00, antiderivative size = 8, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.176, Rules used = {55, 633, 222}
\begin {gather*} -\sin ^{-1}(5-2 x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 55
Rule 222
Rule 633
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {3-x} \sqrt {-2+x}} \, dx &=\int \frac {1}{\sqrt {-6+5 x-x^2}} \, dx\\ &=-\text {Subst}\left (\int \frac {1}{\sqrt {1-x^2}} \, dx,x,5-2 x\right )\\ &=-\sin ^{-1}(5-2 x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(44\) vs. \(2(8)=16\).
time = 0.03, size = 44, normalized size = 5.50 \begin {gather*} \frac {2 \sqrt {-3+x} \sqrt {-2+x} \tanh ^{-1}\left (\frac {\sqrt {-2+x}}{\sqrt {-3+x}}\right )}{\sqrt {-((-3+x) (-2+x))}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [C] Result contains higher order function than in optimal. Order 9 vs. order 3 in
optimal.
time = 2.56, size = 25, normalized size = 3.12 \begin {gather*} \text {Piecewise}\left [\left \{\left \{-2 I \text {ArcCosh}\left [\sqrt {-2+x}\right ],\text {Abs}\left [-2+x\right ]>1\right \}\right \},2 \text {ArcSin}\left [\sqrt {-2+x}\right ]\right ] \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(30\) vs.
\(2(6)=12\).
time = 0.17, size = 31, normalized size = 3.88
method | result | size |
default | \(\frac {\sqrt {\left (-2+x \right ) \left (3-x \right )}\, \arcsin \left (2 x -5\right )}{\sqrt {-2+x}\, \sqrt {3-x}}\) | \(31\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.34, size = 6, normalized size = 0.75 \begin {gather*} \arcsin \left (2 \, x - 5\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 32 vs.
\(2 (6) = 12\).
time = 0.30, size = 32, normalized size = 4.00 \begin {gather*} -\arctan \left (\frac {{\left (2 \, x - 5\right )} \sqrt {x - 2} \sqrt {-x + 3}}{2 \, {\left (x^{2} - 5 \, x + 6\right )}}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.79, size = 26, normalized size = 3.25 \begin {gather*} \begin {cases} - 2 i \operatorname {acosh}{\left (\sqrt {x - 2} \right )} & \text {for}\: \left |{x - 2}\right | > 1 \\2 \operatorname {asin}{\left (\sqrt {x - 2} \right )} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.00, size = 12, normalized size = 1.50 \begin {gather*} -2 \arcsin \left (\sqrt {-x+3}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.18, size = 31, normalized size = 3.88 \begin {gather*} -4\,\mathrm {atan}\left (\frac {\sqrt {x-2}-\sqrt {2}\,1{}\mathrm {i}}{\sqrt {3}-\sqrt {3-x}}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________